//
//  UNColorMacro.h
//  Union
//
//  Created by xiaowuxiaowu on 16/7/18.
//  Copyright © 2016年 xiaowuxiaowu. All rights reserved.
//

#ifndef UNColorMacro_h
#define UNColorMacro_h
#import "UIColor+HEX.h"

#define TPBlack_333333 [UIColor colorWithHexString:@"#333333"]
#define TPBlack_666666 [UIColor colorWithHexString:@"#666666"]
#define TPBlack_999999 [UIColor colorWithHexString:@"#999999"]
#define TPTitleWhiteColor COLORRGB(250.0, 250.0, 250.0)

// 颜色(RGB)
#define COLORRGB(r, g, b)       COLORRGBA(r, g, b, 1.0)
#define COLORRGBA(r, g, b, a)   [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:(a)]
// 随机颜色
#define RANDOM_UICOLOR     [UIColor colorWithRed:arc4random_uniform(256) / 255.0 green:arc4random_uniform(256) / 255.0 blue:arc4random_uniform(256) / 255.0 alpha:1]

#define tableViewSeparatorColor COLORRGB(220.0, 220.0, 220.0)
#define TP_COLOR_240 COLORRGB(240.0, 240.0, 240.0)

#define TP_COLOR_245 COLORRGB(245.0, 245.0, 245.0)


#define nav_bg_color COLORRGB(255, 219, 79)

//统一背景颜色
//#define TPAllBackgroundColor TPTitleWhiteColor
#define TPAllBackgroundColor [UIColor colorWithHexString:@"ee93bb"]


#endif /* UNColorMacro_h */
